Q: Which of the following is not a flowchart structure?
Solution: There are basically four flowcharting structures: • Decision • Repetition • Case • Sequence.
Q: The action performed by a ___________ structure must eventually cause the loop to terminate.
Solution: The action performed by a repetition structure must eventually cause the loop to terminate. Otherwise, an infinite loop is created.
Q: A _______ is a connector showing the relationship between the representative shapes.
Solution: Arrows are the connectors that show the relationship between different shapes. They also show the flow of the program.
Q: Keep the statement language ______________ while writing a pseudo code.
Solution: The statement’s language should be independent. Other rules are to write only one statement per line and end multiline structures.
Q: Capitalize initial keyword – This is a rule while writing a pseudo code.
Solution: The statement is true. It is an important rule to capitalize the initial keyword while writing a pseudo code.
Q: Which of the following is not a keyword?
Solution: Start is not a Keyword. Other words like read, write, if, else, etc are keywords and convey a special meaning.
Q: ______________ is used to show hierarchy in a pseudo code.
Solution: Each design structure uses a particular indentation pattern. Indentation should be considered in the following cases: Sequence Selection Loop.
Q: The statement that tells the computer to get a value from an input device and store it in a memory location.
Solution: The READ statement is used to take the input. READ being a keyword should be in capital letters.
Q: A symbol used for grouping.
Solution: Parenthesis is used for grouping while working with fields. There are other symbols like *, +, -, **, etc.
Q: A statement used to close the IF block.
Solution: The answer is ENDIF. It is used to close the IF block. ENDIF statement should be in line with the IF statement.
You Have Score    | /10 |